Total Complexity | 51 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 275 |
Lines of code | 206 |
Logical lines of code | 99 |
Comment lines | 23 |
Methods | 13 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_lock_modal() | 44 | 10 | 44 | |
handle_email_subscription() | 42 | 8 | 53 | |
hide_add_to_cart_locked_products() | 54 | 7 | 21 | |
enqueue_lock_assets() | 60 | 7 | 14 | |
has_lock_enabled() | 56 | 6 | 18 | |
maybe_replace_add_to_cart_button() | 60 | 3 | 13 | |
maybe_remove_default_button() | 69 | 3 | 7 | |
get_instance() | 70 | 2 | 7 | |
__construct() | 59 | 1 | 14 | |
get_lock_settings() | 79 | 1 | 3 | |
verify_facebook_like() | 76 | 1 | 4 | |
verify_facebook_group() | 76 | 1 | 4 | |
verify_facebook_share() | 76 | 1 | 4 |